
package com.hlkj.pay.infrastructure.mapper.merchant;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import com.hlkj.pay.dto.merchant.report.MerchantReportAmountPageDto;
import org.apache.ibatis.annotations.Mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hlkj.framework.mybatis.core.mapper.BaseMapperX;
import com.hlkj.pay.dto.merchant.report.MerchantReportInfoPageDto;
import com.hlkj.pay.infrastructure.model.merchant.MerchantReportInfoDO;
import org.apache.ibatis.annotations.Param;

/**
 * @author HlpayTeam
 * @date 2024/12/20 13:14
 */
@Mapper
public interface MerchantReportInfoMapper extends BaseMapperX<MerchantReportInfoDO> {

    /**
     * 
     * @param mpPage
     * @param queryWrapper
     */
    IPage<MerchantReportInfoPageDto> selectMerchantReportPage(IPage<MerchantReportInfoPageDto> mpPage, @Param("ew") QueryWrapper<MerchantReportInfoDO> queryWrapper);

    /**
     *
     * @param mpPage
     * @param queryWrapper
     * @return
     */
    IPage<MerchantReportAmountPageDto> selectMerchantReportAmountPage(IPage<MerchantReportAmountPageDto> mpPage,  @Param("ew") QueryWrapper<MerchantReportAmountPageDto> queryWrapper);
}
